package cn.sitcat.springbootshiro.service;

import cn.sitcat.springbootshiro.model.User;

/**
 * @author hiseico
 * @date 2019/4/17 21:40
 * @desc
 */
public interface UserService {
    /**
     * 根据用户名查询用户信息
     * @param name
     * @return
     */
    User getUserByName(String name);

    /**
     * 根据id查询用户信息
     * @param id
     * @return
     */
    User selectUserById(Long id);
}
